package com.kang.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.kang.bean.Role;
import com.kang.bean.RoleMenus;
import com.kang.vo.MenusVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.ArrayList;
import java.util.List;

@Mapper
public interface RoleMenusMapper extends BaseMapper<RoleMenus> {
    List<Long> getMenusIdByCode(String roleCode);

    void deleteByRoleCodes(List<Role> list);

    void deleteByMenusId(List<MenusVo> list);
}
